home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ISATTY(3) MINTLIB LIBRARY FUNCTIONS ISATTY(3)
-
-
- N✓NA✓AM✓ME✓E
- isatty - is this file desciptor a terminal device
-
- S✓SY✓YN✓NO✓OP✓PS✓SI✓IS✓S
- #include <unistd.h>
-
- int isatty(int fildes);
-
- D✓DE✓ES✓SC✓CR✓RI✓IP✓PT✓TI✓IO✓ON✓N
- isatty returns 1 if file descriptor fildes is associated
- with a terminal device, 0 otherwise.
-
- S✓SE✓EE✓E A✓AL✓LS✓SO✓O
- t✓tt✓ty✓yn✓na✓am✓me✓e(✓(3✓3)✓)
-
- N✓NO✓OT✓TE✓E
- The current implementation makes use of the Fseek system
- call, which may explain the appearance of the Fseek call
- in system debug messages whenever a program tries to
- determine whether it is writing to a file or to a tty.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- MiNT docs 0.1 3 March 1993 1
-
-
-